import request from '/@/utils/request';

class Menu {
	static async getMenuAdmin(params?: object) {
		const res = await request({
			url: '/user/getRouters',
			method: 'get',
			params,
		});
		return res;
	}

	static async getMenuTest(params?: object) {
		const res = await request({
			url: '/user/getRouters',
			method: 'get',
			params,
		});
		return res;
	}
}

export default Menu;
